package com.geese.common.entity;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;

public class Role extends BaseEntity {
	private static final long serialVersionUID = -2944353069266766826L;

	private Integer id;

    private String name;

    private String description;

    private Integer isDefault;

    private Date createTime;

    private Integer enable;

    private String memo;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();
    }
    
    @Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}